{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Issue('no':#IAR0BT, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【安全】【漏洞编码】:  CVE-2024-41097 , 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAR0BT?from=project-issue, 'state':待办的, 'cve':CVE-2024-41097, 'targetId':18056297)\n",
      "#IAR0BT <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAR0B8, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【安全】【漏洞编码】: CVE-2024-42086 , 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAR0B8?from=project-issue, 'state':待办的, 'cve':CVE-2024-42086, 'targetId':18056276)\n",
      "#IAR0B8 <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAR08A, 'title':[安全问题]:【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】 【漏洞编号】CVE-2024-42104 , 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAR08A?from=project-issue, 'state':待办的, 'cve':CVE-2024-42104, 'targetId':18056170)\n",
      "#IAR08A <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAR06X, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【安全】漏洞CVE-2024-42087, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAR06X?from=project-issue, 'state':待办的, 'cve':CVE-2024-42087, 'targetId':18056121)\n",
      "#IAR06X <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQXAB, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中CVE-2024-27051, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQXAB?from=project-issue, 'state':待办的, 'cve':CVE-2024-27051, 'targetId':18052355)\n",
      "#IAQXAB <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX8B, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中CVE-2024-27074, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX8B?from=project-issue, 'state':待办的, 'cve':CVE-2024-27074, 'targetId':18052283)\n",
      "#IAQX8B <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX7F, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中CVE-2024-27412, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX7F?from=project-issue, 'state':待办的, 'cve':CVE-2024-27412, 'targetId':18052251)\n",
      "#IAQX7F <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX6X, 'title':[安全问题]: 【安全】【CVE-2024-42295】【OpenHarmony:kernel_linux_5.10 】, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX6X?from=project-issue, 'state':待办的, 'cve':CVE-2024-42295, 'targetId':18052233)\n",
      "#IAQX6X <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX6U, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中CVE-2024-42311, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX6U?from=project-issue, 'state':待办的, 'cve':CVE-2024-42311, 'targetId':18052230)\n",
      "#IAQX6U <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX4G, 'title':[安全问题]: 【安全】【CVE-2024-27001】【OpenHarmony:kernel_linux_5.10 】, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX4G?from=project-issue, 'state':待办的, 'cve':CVE-2024-27001, 'targetId':18052144)\n",
      "#IAQX4G <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX3D, 'title':[安全问题]: 【安全】【CVE-2024-27008】【OpenHarmony:kernel_linux_5.10 】, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX3D?from=project-issue, 'state':待办的, 'cve':CVE-2024-27008, 'targetId':18052105)\n",
      "#IAQX3D <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX28, 'title':[安全问题]: 【安全】【CVE-2024-27024】【OpenHarmony:kernel_linux_5.10 】, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX28?from=project-issue, 'state':待办的, 'cve':CVE-2024-27024, 'targetId':18052064)\n",
      "#IAQX28 <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX1S, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中CVE-2024-42310, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX1S?from=project-issue, 'state':待办的, 'cve':CVE-2024-42310, 'targetId':18052048)\n",
      "#IAQX1S <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX1T, 'title':[安全问题]: 【安全】【CVE-2024-27028】【OpenHarmony:kernel_linux_5.10 】, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX1T?from=project-issue, 'state':待办的, 'cve':CVE-2024-27028, 'targetId':18052049)\n",
      "#IAQX1T <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX14, 'title':[安全问题]: 【安全】【CVE-2024-42301】【OpenHarmony:kernel_linux_5.10 】, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX14?from=project-issue, 'state':待办的, 'cve':CVE-2024-42301, 'targetId':18052024)\n",
      "#IAQX14 <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQX11, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-42313, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQX11?from=project-issue, 'state':待办的, 'cve':CVE-2024-42313, 'targetId':18052021)\n",
      "#IAQX11 <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWZF, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中CVE-2024-43829, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWZF?from=project-issue, 'state':待办的, 'cve':CVE-2024-43829, 'targetId':18051963)\n",
      "#IAQWZF <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWZE, 'title':[安全问题]: 【安全】【CVE-2024-42301】【OpenHarmony:kernel_linux_5.10 】, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWZE?from=project-issue, 'state':待办的, 'cve':CVE-2024-42301, 'targetId':18051962)\n",
      "#IAQWZE <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWY7, 'title':[安全问题]: 【安全】【CVE-2024-27044】【OpenHarmony:kernel_linux_5.10 】, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWY7?from=project-issue, 'state':待办的, 'cve':CVE-2024-27044, 'targetId':18051919)\n",
      "#IAQWY7 <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWY1, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-43849, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWY1?from=project-issue, 'state':待办的, 'cve':CVE-2024-43849, 'targetId':18051913)\n",
      "#IAQWY1 <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWWV, 'title':[安全问题]: 【安全】【CVE-2024-27045】【OpenHarmony:kernel_linux_5.10 】, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWWV?from=project-issue, 'state':待办的, 'cve':CVE-2024-27045, 'targetId':18051871)\n",
      "#IAQWWV <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWWA, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中CVE-2024-42121, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWWA?from=project-issue, 'state':待办的, 'cve':CVE-2024-42121, 'targetId':18051850)\n",
      "#IAQWWA <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWSZ, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-27047, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWSZ?from=project-issue, 'state':待办的, 'cve':CVE-2024-27047, 'targetId':18051731)\n",
      "#IAQWSZ <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWRG, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-42306, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWRG?from=project-issue, 'state':待办的, 'cve':CVE-2024-42306, 'targetId':18051676)\n",
      "#IAQWRG <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWQL, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-27396, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWQL?from=project-issue, 'state':待办的, 'cve':CVE-2024-27396, 'targetId':18051645)\n",
      "#IAQWQL <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWO0, 'title':[安全问题]: [安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-43841, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWO0?from=project-issue, 'state':待办的, 'cve':CVE-2024-43841, 'targetId':18051552)\n",
      "#IAQWO0 <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWMB, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-43846, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWMB?from=project-issue, 'state':待办的, 'cve':CVE-2024-43846, 'targetId':18051491)\n",
      "#IAQWMB <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWKJ, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-43858, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWKJ?from=project-issue, 'state':待办的, 'cve':CVE-2024-43858, 'targetId':18051427)\n",
      "#IAQWKJ <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWJN, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 未知 CVE-2024-26835, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWJN?from=project-issue, 'state':待办的, 'cve':CVE-2024-26835, 'targetId':18051395)\n",
      "#IAQWJN <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQW3P, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-26814, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQW3P?from=project-issue, 'state':待办的, 'cve':CVE-2024-26814, 'targetId':18050821)\n",
      "#IAQW3P <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQW2R, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-39489, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQW2R?from=project-issue, 'state':待办的, 'cve':CVE-2024-39489, 'targetId':18050787)\n",
      "#IAQW2R <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVZQ, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-26956, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVZQ?from=project-issue, 'state':待办的, 'cve':CVE-2024-26956, 'targetId':18050678)\n",
      "#IAQVZQ <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVYZ, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-39487, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVYZ?from=project-issue, 'state':待办的, 'cve':CVE-2024-39487, 'targetId':18050651)\n",
      "#IAQVYZ <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVXR, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-26851, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVXR?from=project-issue, 'state':待办的, 'cve':CVE-2024-26851, 'targetId':18050607)\n",
      "#IAQVXR <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVW5, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-39484, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVW5?from=project-issue, 'state':待办的, 'cve':CVE-2024-39484, 'targetId':18050549)\n",
      "#IAQVW5 <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVUF, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-39482, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVUF?from=project-issue, 'state':待办的, 'cve':CVE-2024-39482, 'targetId':18050487)\n",
      "#IAQVUF <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVTD, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 高 CVE-2024-39480, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVTD?from=project-issue, 'state':已完成, 'cve':CVE-2024-39480, 'targetId':18050449)\n",
      "#IAQVTD <Response [403]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVQF, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-39476, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVQF?from=project-issue, 'state':待办的, 'cve':CVE-2024-39476, 'targetId':18050343)\n",
      "#IAQVQF <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVPE, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-39471, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVPE?from=project-issue, 'state':待办的, 'cve':CVE-2024-39471, 'targetId':18050306)\n",
      "#IAQVPE <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVND, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-26955, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVND?from=project-issue, 'state':待办的, 'cve':CVE-2024-26955, 'targetId':18050233)\n",
      "#IAQVND <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVLF, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-39301, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVLF?from=project-issue, 'state':待办的, 'cve':CVE-2024-39301, 'targetId':18050163)\n",
      "#IAQVLF <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVJA, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-39292, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVJA?from=project-issue, 'state':待办的, 'cve':CVE-2024-39292, 'targetId':18050086)\n",
      "#IAQVJA <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVIA, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-38662, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVIA?from=project-issue, 'state':待办的, 'cve':CVE-2024-38662, 'targetId':18050050)\n",
      "#IAQVIA <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVFL, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-38661, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVFL?from=project-issue, 'state':待办的, 'cve':CVE-2024-38661, 'targetId':18049953)\n",
      "#IAQVFL <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVEW, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-26857, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVEW?from=project-issue, 'state':待办的, 'cve':CVE-2024-26857, 'targetId':18049928)\n",
      "#IAQVEW <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVE8, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-38659, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVE8?from=project-issue, 'state':待办的, 'cve':CVE-2024-38659, 'targetId':18049904)\n",
      "#IAQVE8 <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVBA, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-38635, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVBA?from=project-issue, 'state':待办的, 'cve':CVE-2024-38635, 'targetId':18049798)\n",
      "#IAQVBA <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQVA1, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-38634, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQVA1?from=project-issue, 'state':待办的, 'cve':CVE-2024-38634, 'targetId':18049753)\n",
      "#IAQVA1 <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQV78, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-26951, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQV78?from=project-issue, 'state':待办的, 'cve':CVE-2024-26951, 'targetId':18049652)\n",
      "#IAQV78 <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQV6R, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中 CVE-2024-38627, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQV6R?from=project-issue, 'state':待办的, 'cve':CVE-2024-38627, 'targetId':18049635)\n",
      "#IAQV6R <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQUYA, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】CVE-2024-26950【kernel_linux_5.10】【威胁等级】: 中, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQUYA?from=project-issue, 'state':待办的, 'cve':None, 'targetId':18049330)\n",
      "#IAQUYA <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQTS3, 'title':[安全问题]: [master]【linux kernel 5.10.210】【必现-3/3】linux kernel组件存在CVE漏洞CVE-2024-42122, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQTS3?from=project-issue, 'state':待办的, 'cve':CVE-2024-42122, 'targetId':18047811)\n",
      "#IAQTS3 <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQTQD, 'title':[安全问题]: [master]【linux kernel 5.10.210】【必现-3/3】linux kernel组件存在CVE漏洞CVE-2024-42121, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQTQD?from=project-issue, 'state':待办的, 'cve':CVE-2024-42121, 'targetId':18047749)\n",
      "#IAQTQD <Response [200]>\n",
      "<Response [200]>\n"
     ]
    }
   ],
   "source": [
    "issue_no_list = \"\"\"#IAR0BT\n",
    "#IAR0B8\n",
    "#IAR08A\n",
    "#IAR06X\n",
    "#IAQXAB\n",
    "#IAQX8B\n",
    "#IAQX7F\n",
    "#IAQX6X\n",
    "#IAQX6U\n",
    "#IAQX4G\n",
    "#IAQX3D\n",
    "#IAQX28\n",
    "#IAQX1S\n",
    "#IAQX1T\n",
    "#IAQX14\n",
    "#IAQX11\n",
    "#IAQWZF\n",
    "#IAQWZE\n",
    "#IAQWY7\n",
    "#IAQWY1\n",
    "#IAQWWV\n",
    "#IAQWWA\n",
    "#IAQWSZ\n",
    "#IAQWRG\n",
    "#IAQWQL\n",
    "#IAQWO0\n",
    "#IAQWMB\n",
    "#IAQWKJ\n",
    "#IAQWJN\n",
    "#IAQW3P\n",
    "#IAQW2R\n",
    "#IAQVZQ\n",
    "#IAQVYZ\n",
    "#IAQVXR\n",
    "#IAQVW5\n",
    "#IAQVUF\n",
    "#IAQVTD\n",
    "#IAQVQF\n",
    "#IAQVPE\n",
    "#IAQVND\n",
    "#IAQVLF\n",
    "#IAQVJA\n",
    "#IAQVIA\n",
    "#IAQVFL\n",
    "#IAQVEW\n",
    "#IAQVE8\n",
    "#IAQVBA\n",
    "#IAQVA1\n",
    "#IAQV78\n",
    "#IAQV6R\n",
    "#IAQUYA\n",
    "#IAQTS3\n",
    "#IAQTQD\"\"\".strip().split(\"\\n\")\n",
    "reject_reason_list = \"\"\"误报，CONFIG_USB_CXACRU && CONFIG_USB_ATM&&CONFIG_USB_CXACRU && CONFIG_USB_SPEEDTOUCH未开启 不涉及\n",
    "误报，CONFIG_BME680未开启 不涉及\n",
    "误报，CONFIG_NILFS2_FS未开启 不涉及\n",
    "误报，CONFIG_DRM_PANEL_ILITEK_ILI9881C未开启 不涉及\n",
    "误报，CONFIG_ARM_BRCMSTB_AVS_CPUFREQ未开启 不涉及\n",
    "CONFIG_VIDEO_GO7007未开启，不涉及\n",
    "CONFIG_BATTERY_BQ27XXX_I2C未开启 不涉及\n",
    "误报，CONFIG_NILFS2_FS选项未开启 不涉及\n",
    "误报，CONFIG_HFS_FS未开启 不涉及\n",
    "CONFIG_COMEDI_VMK80XX未开启 不涉及\n",
    "CONFIG_DRM_NOUVEAU未开启，不涉及\n",
    "误报，CONFIG_RDS未开启 不涉及\n",
    "误报，CONFIG_DRM_GMA500未开启 不涉及\n",
    "CONFIG_SPI_MT65XX未开启，不涉及\n",
    "误报，CONFIG_PARPORT未开启 不涉及\n",
    "误报，CONFIG_VIDEO_QCOM_VENUS未开启 不涉及\n",
    "误报，CONFIG_DRM_QXL选项未开启，不涉及\n",
    "误报，CONFIG_PARPORT未开启 不涉及\n",
    "CONFIG_DRM_AMD_DC_DCN未开启，不涉及\n",
    "误报，CONFIG_QCOM_PDR_HELPERS未开启 不涉及\n",
    "CONFIG_DRM_AMDGPU未开启，不涉及\n",
    "CONFIG_DRM_AMDGPU未开启，不涉及\n",
    "CONFIG文件中不存在该配置，不涉及\n",
    "CONFIG_UDF_FS is not set，不涉及\n",
    "CONFIG文件中不存在该配置，不涉及\n",
    "误报，CONFIG_VIRT_WIFI选项未开启，不涉及\n",
    "误报，CONFIG_OBJAGG选项未开启，不涉及\n",
    "误报，CONFIG_JFS_FS未开启 不涉及\n",
    "CONFIG_NF_TABLES未开启 不涉及\n",
    "CONFIG_VFIO_FSL_MC未开启 不涉及\n",
    "CONFIG_IPV6_SEG6_HMAC未开启 不涉及\n",
    "CONFIG_NILFS2_FS未开启，不涉及\n",
    "误报，CONFIG_BONDING未开启 不涉及\n",
    "CONFIG_NF_CONNTRACK_H323未开启 不涉及\n",
    "CONFIG_MMC_DAVINCI 未开启 不涉及\n",
    "CONFIG_BCACHE未开启 不涉及\n",
    "误报，CONFIG_KGDB_KDB未开启 不涉及\n",
    "误报，CONFIG_MD_RAID456未开启 不涉及\n",
    "误报，CONFIG_DRM_AMDGPU未开启 不涉及\n",
    "误报，CONFIG_NILFS2_FS未开启 不涉及\n",
    "误报，CONFIG_NET_9P未开启 不涉及\n",
    "误报，CONFIG_UML未开启 不涉及\n",
    "误报，CONFIG_BPF_STREAM_PARSER未开启 不涉及\n",
    "误报，CONFIG_S390未开启 不涉及\n",
    "误报，CONFIG_GENEVE未开启 不涉及\n",
    "误报，CONFIG_ENIC未开启 不涉及\n",
    "误报，CONFIG_SOUNDWIRE_CADENCE未开启 不涉及\n",
    "误报，CONFIG_SERIAL_MAX3100 未开启，不涉及\n",
    "误报，CONFIG_WIREGUARD未开启 不涉及\n",
    "误报，CONFIG_STM未开启 不涉及\n",
    "CONFIG_WIREGUARD未开启，不涉及\n",
    "CONFIG_DRM_AMD_DC && CONFIG_DRM_AMDGPU 未开启 不涉及\n",
    "CONFIG_DRM_AMDGPU 未开启，不涉及\"\"\".strip().split(\"\\n\")\n",
    "assert len(issue_no_list) == len(reject_reason_list)\n",
    "import sys\n",
    "sys.path.append('..')\n",
    "import dao.IssueDao as IssueDao\n",
    "import sqlite3\n",
    "issue_list = []\n",
    "with sqlite3.connect(\"../dao/cve_process.db\") as conn:\n",
    "    for issue_no in issue_no_list:\n",
    "        issue_list.append(IssueDao.get_issue(conn, issue_no))\n",
    "\n",
    "\n",
    "import service.GiteeService as GiteeService\n",
    "for issue, reason in zip(issue_list, reject_reason_list):\n",
    "    print(issue)\n",
    "    resp = GiteeService.commentOnIssue(issue.targetId, \"{}\".format(reason))\n",
    "    print(issue.no, resp)\n",
    "    resp = GiteeService.modifyIssueState(issue.no, GiteeService.State.refused)\n",
    "    print(resp)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2 2\n",
      "Issue('no':#IAQWW3, 'title':[安全问题]: 【安全】【CVE-2024-42304】【OpenHarmony:kernel_linux_5.10 】, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWW3?from=project-issue, 'state':待办的, 'cve':CVE-2024-42304, 'targetId':18051843)\n",
      "#IAQWW3 <Response [200]>\n",
      "<Response [200]>\n",
      "Issue('no':#IAQWPK, 'title':[安全问题]: 【OpenHamrony 5.0.0.41】【内核子系统】【ToC】【RK3568】【必现-10/10】【kernel_linux_5.10】【威胁等级】: 中CVE-2024-42312, 'url':https://gitee.com//openharmony/kernel_linux_5.10/issues/IAQWPK?from=project-issue, 'state':待办的, 'cve':CVE-2024-42312, 'targetId':18051608)\n",
      "#IAQWPK <Response [200]>\n",
      "<Response [200]>\n"
     ]
    }
   ],
   "source": [
    "issue_no_list = \"\"\"#IAQWW3\n",
    "#IAQWPK\"\"\".strip().split(\"\\n\")\n",
    "before_commit_list = \"\"\"0845ced9814d\n",
    "54b732589147\"\"\".strip().split(\"\\n\")\n",
    "assert (len(issue_no_list) == len(before_commit_list))\n",
    "import sys\n",
    "sys.path.append('..')\n",
    "import dao.IssueDao as IssueDao\n",
    "import sqlite3\n",
    "issue_list = []\n",
    "with sqlite3.connect(\"../dao/cve_process.db\") as conn:\n",
    "    for issue_no in issue_no_list:\n",
    "        issue_list.append(IssueDao.get_issue(conn, issue_no))\n",
    "\n",
    "import service.GiteeService as GiteeService\n",
    "for issue, before_commit in zip(issue_list, before_commit_list):\n",
    "    print(issue)\n",
    "    resp = GiteeService.commentOnIssue(issue.targetId, \"之前已经合入，见 https://gitee.com/openharmony/kernel_linux_5.10/commit/{}\".format(before_commit))\n",
    "    print(issue.no, resp)\n",
    "    resp = GiteeService.modifyIssueState(issue.no, GiteeService.State.refused)\n",
    "    print(resp)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
